<?php
class pUserAction extends pBaseAction{
    public function index(){
        $dao=new UserModel();
        $count=$dao->count();
        if($count>0){
            import('@.Util.PageEx');
            $p=new PageEx($count,20);
            $this->assign('list',$dao->limit($p->firstRow.','.$p->listRows)->findAll());
            $this->assign('page',$p->show());
        }
        $this->display();
    }
    
    public function add(){
        $this->display();
    }

    public function save(){
    }

    public function edit(){
    }

    public function update(){
    }

    public function removal(){
    }

    public function report(){
    }


}
